﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
using XYAC.Framework.MonitorTireMaterialOnline.Entities;

namespace XYAC.Framework.MonitorTireMaterialOnline.OracleRemoteDB
{
    [Table("YB_LOT_INSPECT")]
    public class YB_LOT_INSPECT : EntityBase<long>
    {
        [Key]
        public long LJ_ID { get; set; } // NUMBER

        public string? SERIAL_NUMBER { get; set; } // VARCHAR2
        public string? PART_NUMBER { get; set; } // VARCHAR2
        public string? TIRE_PART_NUMBER { get; set; } // VARCHAR2
        public DateTime? PLAN_DATE { get; set; } // DATE
        public string? SHIFT { get; set; } // VARCHAR2
        public string? EQP { get; set; } // VARCHAR2
        public string? PLANID { get; set; } // VARCHAR2
        public DateTime? RECEIVE_DATE { get; set; } // DATE
        public string? RECEIVE_FLAG { get; set; } // VARCHAR2
        public DateTime? CREATION_DATE { get; set; } // DATE


        [NotMapped]
        [Obsolete("This property should not be used.", true)]
        [EditorBrowsable(EditorBrowsableState.Never)]
        [Browsable(false)]
        [JsonIgnore]
        public override bool? IsDeleted { get; set; }
        [NotMapped]
        [Obsolete("This property should not be used.", true)]
        [EditorBrowsable(EditorBrowsableState.Never)]
        [Browsable(false)]
        [JsonIgnore]
        public override long ID { get; set; }
    }
}
